<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>${htmltitle}</title>
<link rel="stylesheet" href="${ctx}/static/css/style.default.css" type="text/css" />
<link rel="stylesheet" href="${ctx}/static/dateRange/dateRange.css" type="text/css" />
<script type="text/javascript" src="${ctx}/static/js/plugins/jquery-1.7.min.js"></script>
<script type="text/javascript" src="${ctx}/static/js/plugins/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="${ctx}/static/js/plugins/jquery.cookie.js"></script>
<script type="text/javascript" src="${ctx}/static/js/plugins/jquery.uniform.min.js"></script>
<script type="text/javascript" src="${ctx}/static/js/plugins/jquery.flot.min.js"></script>
<script type="text/javascript" src="${ctx}/static/js/plugins/jquery.flot.resize.min.js"></script>
<script type="text/javascript" src="${ctx}/static/js/plugins/jquery.slimscroll.js"></script>
<script type="text/javascript" src="${ctx}/static/js/plugins/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="${ctx}/static/js/custom/general.js"></script>
<script type="text/javascript" src="${ctx}/static/js/custom/tables.js"></script>
<script type="text/javascript" src="${ctx}/static/js/custom/dashboard.js"></script>
<script type="text/javascript" src="${ctx}/static/dateRange/dateRange.js"></script>
<!--[if lte IE 8]>
    <script language="javascript" type="text/javascript" src="${ctx}/static/js/plugins/excanvas.min.js"></script>
<![endif]-->
<!--[if IE 9]>
    <link rel="stylesheet" media="screen" href="${ctx}/static/css/style.ie9.css"/>
<![endif]-->
<!--[if IE 8]>
    <link rel="stylesheet" media="screen" href="${ctx}/static/css/style.ie8.css"/>
<![endif]-->
<!--[if lt IE 9]>
	<script src="js/plugins/${ctx}/static/css3-mediaqueries.js"></script>
<![endif]-->
</head>

<body class="withvernav">
<div class="bodywrapper">
    <div class="topheader">
        <div class="left">
            <h1 class="logo">${htmltitle}</h1>
            <span class="slogan">后台管理系统</span>
            
            <br clear="all" />
            
        </div><!--left-->
        
        <div class="right">
        	<!--<div class="notification">
                <a class="count" href="ajax/notifications.html"><span>9</span></a>
        	</div>-->
            <div class="userinfo">
            	<img src="${ctx}/static/images/thumbs/avatar.png" alt="" />
                <span>${user.acct} - ${user.name}</span>
            </div><!--userinfo-->
            
            <div class="userinfodrop">
            	<div class="avatar">
                	<a href=""><img src="${ctx}/static/images/thumbs/avatarbig.png" alt="" /></a>
                </div><!--avatar-->
                <div class="userdata">
                	<h4>${user.acct} - ${user.name}</h4>
                    <span class="email"></span>
                    <ul>
                    	<li><a href="${ctx}/user/editpass">修改密码</a></li>
                        <li><a href="${ctx}/user/logout">退出</a></li>
                    </ul>
                </div><!--userdata-->
            </div><!--userinfodrop-->
        </div><!--right-->
    </div><!--topheader-->
    
    
    <div class="header">
    	<ul class="headermenu">
        	<li class="current"><a href="${ctx}"><span class="icon icon-flatscreen"></span>首页</a></li>
        </ul>        
    </div><!--header-->
    
    <!--leftmenu-->
    <div class="vernav" style="position:absolute;left:0;top:185px;">
    	<ul>
        	<li><a href="${ctx}/apply/list">报名</a></li>
            <li><a href="${ctx}/bunch/apply">待审核的报名</a></li>
            <li class="current"><a href="${ctx}/bunch/list">班级管理</a></li>
            <li><a href="${ctx}/bunch/score">成绩管理</a></li>
        </ul>
        <a class="togglemenu"></a>
        <br /><br />
    </div><!--leftmenu-->
        
    <div class="centercontent">
    
        <div class="pageheader">
            <h1 class="pagetitle">学习进度列表</h1>
            <span class="pagedesc">可通过右侧【查询条件】标签页填写查询条件进行查询，结果显示在左侧【查询结果】标签页</span>
            <span class="pagedesc" style="display:block;margin-top:20px;">
                <a href="${ctx}/bunch/list" class="btn btn_link"><span>返回班级列表</span></a>
            </span>
            
            <ul class="hornav">
                <li class="current"><a href="#result">查询结果</a></li>
                <li><a href="#search">查询条件</a></li>
            </ul>
        </div><!--pageheader-->

        <div id="contentwrapper" class="contentwrapper">
        
        	<div id="result" class="subcontent">
        	
                <c:if test="${not empty err}">
                <c:if test="${err.err}">
                <div class="notibar msgsuccess">
                    <a class="close"></a>
                    <p>${err.msg}</p>
                </div><!-- notification msgsuccess -->
                </c:if>
                <c:if test="${not err.err}">
                <div class="notibar msgerror">
                    <a class="close"></a>
                    <p>${err.msg}</p>
                </div><!-- notification msgerror -->
                </c:if>
                </c:if>
            
                <table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="leastudytable">
                    <colgroup>
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                    </colgroup>
                    <thead>
                        <tr>
                            <th class="head0">编号</th>
                            <th class="head1">姓名</th>
                            <th class="head0">学号</th>
                            <th class="head1">学习进度</th>
                            <th class="head0">操作</th>
                        </tr>
                    </thead>
                    <tfoot>
                        <tr>
                            <th class="head0">编号</th>
                            <th class="head1">姓名</th>
                            <th class="head0">学号</th>
                            <th class="head1">学习进度</th>
                            <th class="head0">操作</th>
                        </tr>
                    </tfoot>
                    <tbody>
                    </tbody>
                </table>
                
            </div>

            <div id="search" class="subcontent" style="display: none">
            
                 <form id="cashform" class="stdform" method="post" action="">
                 
                    <p>
                      	<label>学期名称</label>
                        <c:if test="${not empty form.major}">
                        <span class="field"><input type="text" name="major" id="major" value="${form.major}" class="smallinput" /></span>
                        </c:if>
                        <c:if test="${empty form.major}">
                        <span class="field"><input type="text" name="major" id="major" class="smallinput" /></span>
                        </c:if>
                    </p>

                    <c:if test="${not empty search}">
                    <input type="text" name="search" value="${search}" style="display:none;" />
                    </c:if>
                    <c:if test="${empty search}">
                    <input type="text" name="search" style="display:none;" />
                    </c:if>

                    <p class="stdformbutton">
                      	<button class="submit radius2" style="width:160px;">提交</button>
                    </p>
                </form> 

            </div>
            
        </div>
        
	</div><!-- centercontent -->
    
    
</div><!--bodywrapper-->

</body>
</html>
